package io_learn.object_io;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;


@Data
@ToString
public class Student implements Serializable {
    static final long serialVersionUID = 42;

    String name;

    String age;

    Student tz;

    public Student(String name, String age) {
        this.name = name;
        this.age = age;


    }
}
